package com.example.siyun.service.impl.orderserviceImpl;

import com.example.siyun.mapper.ordermapper.OrderMapper;
import com.example.siyun.pojo.SyUserOrder;
import com.example.siyun.service.orderservice.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/*
 * 课程订单列表
 *@author：王浩宇
 *@Date: 2022-10-12
 * */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderMapper orderMapper;

    @Override
    public List<SyUserOrder> Get() {
        return orderMapper.Get();
    }

    @Override
    public List<SyUserOrder> Select(String orderSource, String orderStatus, String orderPaymentChannel) {
        return orderMapper.Select(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public List<SyUserOrder> getPayment() {
        return orderMapper.getPayment();
    }

    @Override
    public List<SyUserOrder> selectPayment(String orderSource, String orderStatus, String orderPaymentChannel) {
        return orderMapper.selectPayment(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public List<SyUserOrder> getPaid() {
        return orderMapper.getPaid();
    }

    @Override
    public List<SyUserOrder> selectPaid(String orderSource, String orderStatus, String orderPaymentChannel) {
        return orderMapper.selectPaid(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public List<SyUserOrder> getCancel() {
        return orderMapper.getCancel();
    }

    @Override
    public List<SyUserOrder> selectCancel(String orderSource, String orderStatus, String orderPaymentChannel) {
        return orderMapper.selectCancel(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public int Number() {
        return orderMapper.Number();
    }

    @Override
    public int numberPayment() {
        return orderMapper.numberPayment();
    }

    @Override
    public int numberPaid() {
        return orderMapper.numberPaid();
    }

    @Override
    public int numberCancel() {
        return orderMapper.numberCancel();
    }


}
